package com.sgcc.statistics.service;

import java.beans.ConstructorProperties;
import java.util.List;
import com.sgcc.statistics.domain.OConsPercentage;

/**
 * OConsPercentageService接口
 * 
 * @author sgcc
 * @date 2021-04-15
 */
public interface IOConsPercentageService 
{
    /**
     * 查询OConsPercentage
     * 
     * @param id OConsPercentageID
     * @return OConsPercentage
     */
    public OConsPercentage selectOConsPercentageById(String id);

    /**
     * 查询OConsPercentage列表
     * 
     * @param oConsPercentage OConsPercentage
     * @return OConsPercentage集合
     */
    public List<OConsPercentage> selectOConsPercentageList(OConsPercentage oConsPercentage);

    /**
     * 新增OConsPercentage
     * 
     * @param oConsPercentage OConsPercentage
     * @return 结果
     */
    public int insertOConsPercentage(OConsPercentage oConsPercentage);

    /**
     * 修改OConsPercentage
     * 
     * @param oConsPercentage OConsPercentage
     * @return 结果
     */
    public int updateOConsPercentage(OConsPercentage oConsPercentage);

    /**
     * 批量删除OConsPercentage
     * 
     * @param ids 需要删除的OConsPercentageID
     * @return 结果
     */
    public int deleteOConsPercentageByIds(String[] ids);

    /**
     * 删除OConsPercentage信息
     * 
     * @param id OConsPercentageID
     * @return 结果
     */
    public int deleteOConsPercentageById(String id);

    OConsPercentage selectOConsPercentageByunitAndTime(String deptId, String startTime, String endTime);

    List<OConsPercentage> selectOConsPercentageByunitAndTimeList(List<String> orgNoList, String sTime, String eTime);
}
